home *** CD-ROM | disk | FTP | other *** search
/ IBM InfoROM for OS/2 Beta 1995 January / IBM InfoROM for OS2 Beta 1-1995.ISO / testcert / storage / function / scsi / add / reserve.scr < prev    next >
Encoding:
Text File  |  1994-08-18  |  871 b   |  40 lines

  1. * Reserves a logical unit or, reserves
  2. * extents within a logical unit.
  3.  
  4. @THREAD RESERVE.LOG
  5. @NEWALIAS SADD SCSIADD.GRA
  6. @IMPORT SCSICOM.SCR
  7. SADD DD_OPEN
  8.  
  9. * 0=Async mode, 1=Sync mode
  10. SADD SET MODE=1
  11.  
  12. * Command completion timeout (Secs)
  13. * 0=the assigned value is the default set by the driver,
  14. * -1=the assigned value is infinite.
  15. SADD SET TIMEOUT=0
  16.  
  17. *  0 = Reserves the entire logical unit for exclusive use
  18. *  1 = Reserves the extents specified
  19. SADD SET EXTENT_RESERVE = 0
  20.  
  21. SADD SET THIRD_PARTY_DEVICE_ID = 3
  22.  
  23. *  0 = Third Party reservation is not requested.
  24. *  1 = Reserves the specified logical unit or extents,
  25. SADD SET THIRD_PARTY_RESERVE=0
  26.  
  27. * Reservation identification
  28. SADD SET RESERVATION_ID=0
  29.  
  30. * Extent list length in bytes
  31. SADD SET NBytes=0 
  32.  
  33. * Name for paramblock
  34. SADD SET LABEL = "RESERVE"
  35.  
  36. SADD RESERVE
  37.  
  38. SADD DD_CLOSE
  39.  
  40.